﻿using DFGK_WMS.Model.Dto;
using DFGK_WMS.Model.Models.LyModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DFGK.IService.LY
{
    public interface ISupplierTransactionService
    {
     
        List<SupplierTransaction> GetSupplierTransactionReturn(DateTime? startDate,DateTime? endDate, out int totalCount, int pageIndex = 1, int pageSize = 15);

        List<SupplierTransaction> GetSupplierTransactionReconciliation(DateTime? startDate, DateTime? endDate, out int totalCount, int pageIndex = 1, int pageSize = 15);

        List<SupplierTransaction> GetSupplierTransactionQuotation( DateTime? startDate, DateTime? endDate, out int totalCount, int pageIndex = 1, int pageSize = 15);

        List<SupplierTransaction> GetSupplierTransactionLoss( DateTime? startDate, DateTime? endDate, out int totalCount, int pageIndex = 1, int pageSize = 15);
        bool DelSupplierTransaction(long supplierTransactionId);
        bool AddOrModefiySupplierTransaction(SupplierTransaction model, out string errorMsg);

        SupplierTransaction? GetSupplierTransaction(long supplierTransactionId);

        List<SupplierTransaction> GetSuppliersDetailDown();
    }
}
